# -*- coding: utf-8 -*-
"""
Created on Wed Aug 15 11:38:23 2018

@author: jiujiujiu
"""

def get_dates(url):
    text = get_html_text(url)
    text = eval(text)
    data = text['articles']
    dates = [date['published_time'][:10] for date in data]
    return dates